/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package cz.cuni.mff.d3s.arcas.intermediate.impl;

import cz.cuni.mff.d3s.arcas.intermediate.DistributionArchitecture;
import cz.cuni.mff.d3s.arcas.intermediate.DistributionArchitectureFeatureDelegation;
import cz.cuni.mff.d3s.arcas.intermediate.DistributionArchitectureRemoteBinding;
import cz.cuni.mff.d3s.arcas.intermediate.DistributionArchitectureRole;
import cz.cuni.mff.d3s.arcas.intermediate.DistributionArchitectureUnit;
import cz.cuni.mff.d3s.arcas.intermediate.IntermediatePackage;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Distribution Architecture</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link cz.cuni.mff.d3s.arcas.intermediate.impl.DistributionArchitectureImpl#getName <em>Name</em>}</li>
 *   <li>{@link cz.cuni.mff.d3s.arcas.intermediate.impl.DistributionArchitectureImpl#getRoles <em>Roles</em>}</li>
 *   <li>{@link cz.cuni.mff.d3s.arcas.intermediate.impl.DistributionArchitectureImpl#getUnits <em>Units</em>}</li>
 *   <li>{@link cz.cuni.mff.d3s.arcas.intermediate.impl.DistributionArchitectureImpl#getRemoteBindings <em>Remote Bindings</em>}</li>
 *   <li>{@link cz.cuni.mff.d3s.arcas.intermediate.impl.DistributionArchitectureImpl#getFeatures <em>Features</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class DistributionArchitectureImpl extends CDOObjectImpl implements DistributionArchitecture {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected DistributionArchitectureImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
		return (String)eGet(IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE__NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setName(String newName) {
		eSet(IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE__NAME, newName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<DistributionArchitectureRole> getRoles() {
		return (EList<DistributionArchitectureRole>)eGet(IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE__ROLES, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<DistributionArchitectureUnit> getUnits() {
		return (EList<DistributionArchitectureUnit>)eGet(IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE__UNITS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<DistributionArchitectureRemoteBinding> getRemoteBindings() {
		return (EList<DistributionArchitectureRemoteBinding>)eGet(IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE__REMOTE_BINDINGS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<DistributionArchitectureFeatureDelegation> getFeatures() {
		return (EList<DistributionArchitectureFeatureDelegation>)eGet(IntermediatePackage.Literals.DISTRIBUTION_ARCHITECTURE__FEATURES, true);
	}

} //DistributionArchitectureImpl
